load("@fbcode_macros//build_defs:cpp_unittest.bzl", "cpp_unittest")

oncall("fboss_agent_push")

cpp_unittest(
    name = "state_tests",
    srcs = [
        "AclGroupTests.cpp",
        "AclNexthopHandlerTest.cpp",
        "AclTests.cpp",
        "AggregatePortTests.cpp",
        "BufferPoolConfigTests.cpp",
        "ControlPlaneTests.cpp",
        "DsfNodeTests.cpp",
        "FibsInfoDeltaTests.cpp",
        "FibsInfoTests.cpp",
        "FlowletSwitchingTests.cpp",
        "ForwardingInformationBaseTests.cpp",
        "InterfaceTests.cpp",
        "IpTunnelTests.cpp",
        "LabelFIBTests.cpp",
        "LabelForwardingActionTests.cpp",
        "LabelForwardingEntryTests.cpp",
        "LoadBalancerTests.cpp",
        "MacEntryTests.cpp",
        "MacTableTests.cpp",
        "MapDeltaTests.cpp",
        "MirrorOnDropReportTests.cpp",
        "MirrorTests.cpp",
        "MultiSwitchMapDeltaTests.cpp",
        "NeighborTests.cpp",
        "OperDeltaTests.cpp",
        "PortDescriptorTests.cpp",
        "PortFlowletConfigTests.cpp",
        "PortPgConfigTests.cpp",
        "PortQueueTests.cpp",
        "PortTests.cpp",
        "QcmConfigTests.cpp",
        "QosPolicyTests.cpp",
        "RouteNextHopEntryTests.cpp",
        "RouteNextHopTests.cpp",
        "RouteTests.cpp",
        "SflowCollectorTests.cpp",
        "SwitchSettingsTests.cpp",
        "SwitchStatePruningTests.cpp",
        "SystemPortTests.cpp",
        "TeFlowTests.cpp",
        "ThriftySwitchStateTests.cpp",
        "TransceiverTests.cpp",
        "UdfTests.cpp",
        "VlanTests.cpp",
    ],
    deps = [
        "//common/network/if:if-cpp2-types",
        "//common/stats:monotonic_counter",
        "//fboss/agent:address_utils",
        "//fboss/agent:apply_thrift_config",
        "//fboss/agent:enum_utils",
        "//fboss/agent:fboss-error",
        "//fboss/agent:fboss-types",
        "//fboss/agent:fsdb_helper",
        "//fboss/agent:hwswitch_matcher",
        "//fboss/agent:stats",
        "//fboss/agent:switch_config-cpp2-types",
        "//fboss/agent:switchid_scope_resolver",
        "//fboss/agent:utils",
        "//fboss/agent/hw/mock:mock",
        "//fboss/agent/if:common-cpp2-types",
        "//fboss/agent/if:ctrl-cpp2-types",
        "//fboss/agent/if:mpls-cpp2-types",
        "//fboss/agent/state:label_forwarding_action",
        "//fboss/agent/state:nodebase",
        "//fboss/agent/state:state",
        "//fboss/agent/state:state_utils",
        "//fboss/agent/test:config_helper",
        "//fboss/agent/test:hw_test_handle",
        "//fboss/agent/test:label_forwarding_utils",
        "//fboss/agent/test:utils",
        "//fboss/fsdb/common:utils",
        "//folly:network_address",
        "//folly:range",
        "//folly/container:enumerate",
        "//folly/hash:hash",
        "//folly/json:dynamic",
        "//folly/logging:logging",
    ],
    external_deps = [
        ("boost", None, "boost_container"),
    ],
)
